﻿using System;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Web.Mvc;
using System.Web;

namespace Model
{

    [MetadataType(typeof(EfficiencyLogCycle_Metadata))]
    [DisplayName("周期")]
    public partial class EfficiencyLogCycle
    {
        public EfficiencyLogCycle()
        {
            this.Id = Guid.NewGuid();
            this.UserId = new Guid(HttpContext.Current.User.Identity.Name);
        }

        public class EfficiencyLogCycle_Metadata
        {
            [ScaffoldColumn(false)]
            public System.Guid Id { get; set; }

            [DisplayName("周期")]
            public object Title { get; set; }

            [DisplayName("排序")]
            public object IntOrder { get; set; }

            [ScaffoldColumn(false)]
            public System.Guid UserId { get; set; }

        }
    }
}
